projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75bceb2
)
power: pmic: tps65218: Add DCDC3 configuration
author
Keerthy
<
[email protected]
>
Fri, 2 Jun 2017 09:30:30 +0000
(15:00 +0530)
committer
Jaehoon Chung
<
[email protected]
>
Fri, 9 Jun 2017 11:25:16 +0000
(20:25 +0900)
Some boards like am437x-gp-evm require dcdc3 also to be configured
as it feeds on to ddr. Hence add the capability as well.
Signed-off-by: Keerthy <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
Reviewed-by: Lokesh Vutla <
[email protected]
>
drivers/power/pmic/pmic_tps65218.c
patch
|
blob
|
history
diff --git
a/drivers/power/pmic/pmic_tps65218.c
b/drivers/power/pmic/pmic_tps65218.c
index c5e768ae4b63df18f26d9a9cfae753904b9a163f..911f63942d3855dacd1f1b0a662a63559273456a 100644
(file)
--- a/
drivers/power/pmic/pmic_tps65218.c
+++ b/
drivers/power/pmic/pmic_tps65218.c
@@
-96,7
+96,8
@@
int tps65218_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val,
int tps65218_voltage_update(uchar dc_cntrl_reg, uchar volt_sel)
{
if ((dc_cntrl_reg != TPS65218_DCDC1) &&
- (dc_cntrl_reg != TPS65218_DCDC2))
+ (dc_cntrl_reg != TPS65218_DCDC2) &&
+ (dc_cntrl_reg != TPS65218_DCDC3))
return 1;
/* set voltage level */